import styles from "./page.module.css";

async function getData() {
  const res = await fetch('https://api.example.com/...')
  if (!res.ok) {
    throw new Error('Failed to fetch data')
  }
  return res.json()
}

export default function Home() {
  return (
    <div className={styles.page}>
      首页
    </div>
  );
}
